package com.qf;

import com.qf.config.RabbitConfirmConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

/**
 * @author lixu
 */
@SpringBootApplication
public class MQApplication {

    public static void main(String[] args) {
        SpringApplication.run(MQApplication.class,args);
    }

    @Bean(initMethod = "abc")
    public RabbitConfirmConfig rabbitConfirmConfig(){
        return new RabbitConfirmConfig();
    }
}
